package com.ruoyi.business.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 T_HOMEWORK_STU
 * 
 * @author 最爱喝兽奶
 * @date 2022-08-14
 */
@Data
@TableName(value = "T_HOMEWORK_STU")
public class THomeworkStu implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 作业id */
    @TableId
    private String id;

    /** 课程id */
    @Excel(name = "课程id")
    @TableField(value = "course_id")
    private String courseId;

    /** 章节id */
    @Excel(name = "章节id")
    @TableField(value = "chapter_id")
    private String chapterId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(value = "beg_time")
    private Date begTime;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(value = "end_time")
    private Date endTime;

    /** 作业完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "作业完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(value = "finish_time")
    private Date finishTime;

    /** 是否完成 */
    @Excel(name = "是否完成")
    @TableField(value = "finished")
    private String finished;

    /** 作业的最后得分 */
    @Excel(name = "作业的最后得分")
    @TableField(value = "score")
    private String score;

    /** 完成人 */
    @Excel(name = "完成人")
    @TableField(value = "upload_user")
    private String uploadUser;

    /**
     * 作业详情
     */
    @TableField(value = "work_detail")
    private String workDetail;

    /**
     * 作业附件
     */
    @TableField(value = "enclosure")
    private String enclosure;

    /**
     * 作业名
     */
    @TableField(value = "homework_name")
    private String homeworkName;
}
